mnemonic
Type
property
Summary
Specifies which character of a button's name can be used with the Alt key to trigger the button.
Syntax
set the mnemonic of <button> to <number>
Description
Use the mnemonic property to provide a keyboard substitute for clicking a button on Windows systems.
The mnemonic is any number between 1 and the number of characters in the button's name. The character at that position is underlined, and pressing the Alt key with that character sends a mouseUp message to the button. If the number is zero, the button does not have an Alt key equivalent.
This property has no effect on Mac OS or Unix systems.
Examples
set the mnemonic of button "Avant!" to 1 -- uses the first letter, A
Related
keyword: character, characters, button, integer
message: mouseUp
object: button
property: acceleratorText
glossary: property, Windows, trigger, Alt key
Compatibility and Support
Introduced
LiveCode 1.0
OS
windows
ios
android
Platforms
desktop
server
mobile